<?php
include 'Config.php';
include 'DB.php';
$fetch = new Fetch($config);
@$id = $_GET['order_id'];
$fetch->delByID('indent', 'order_id', $id);
Header("Location:../View/indent-manage.php");
if (!isset($_POST)) return;
$fetch->insertIndentData('indent', $_POST);
Header("Location:../View/indent-manage.php");
print_r($_POST);